package main

import (
	"ginblog/model"
	"ginblog/routes"
	"ginblog/tools/log"
)

func main() {
	//加载日志配置
	log.InitLog()
	//连接数据库
	model.InitDb()
	//实例化路由
	routes.InitRoute()
}
